package com.fastCms.business.mall.pojo.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * 杭州人参大健康管理有限公司 版权所有 Copyright 2019<br>
 *
 * @Description: <br>
 * @Project: healthPro <br>
 * @CreateDate: Created in 2019年4月9日 下午5:18:23 <br>
 * @Author: < a href="jiahui.zhao@healthpro.vip">jiahui.zhao</ a>
 */
@Data
@ApiModel(value = "ProductInfoEditPO 编辑商品信息对象", description = "")
public class ProductInfoEditPO {

    @ApiModelProperty(value = "商品信息")
    @NotNull
    private ProductPO product;

    @Size(min = 1, max = 10)
    @ApiModelProperty(value = "商品图片")
    private List<String> imageUrls;


    @ApiModelProperty(value = "商品属性值关系列表")
    private List<ProductAttributeRelationPO> productAttributeRelations;

    @ApiModelProperty(value = "商品规格和值对象列表")
    private List<ProductSpecRelValuePO> productSpecRelValues;

    @ApiModelProperty(value = "商品sku列表")
    private List<ProductSkuPO> productSkus;

    @ApiModelProperty(value = "商品分类id列表")
    private List<String> classIds;

    @ApiModelProperty(value = "商品标签列表")
    private List<String> productTags;


}
